package cn.iocoder.yudao.module.shop.convert.itemtimesrecord;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.shop.controller.admin.itemtimesrecord.vo.*;
import cn.iocoder.yudao.module.shop.dal.dataobject.itemtimesrecord.ShopItemTimesRecordDO;

/**
 * 项目次数变化记录 Convert
 *
 * @author 曹建伟
 */
@Mapper
public interface ShopItemTimesRecordConvert {

    ShopItemTimesRecordConvert INSTANCE = Mappers.getMapper(ShopItemTimesRecordConvert.class);

    ShopItemTimesRecordDO convert(ShopItemTimesRecordCreateReqVO bean);

    ShopItemTimesRecordDO convert(ShopItemTimesRecordUpdateReqVO bean);

    ShopItemTimesRecordRespVO convert(ShopItemTimesRecordDO bean);

    List<ShopItemTimesRecordRespVO> convertList(List<ShopItemTimesRecordDO> list);

    PageResult<ShopItemTimesRecordRespVO> convertPage(PageResult<ShopItemTimesRecordDO> page);

    List<ShopItemTimesRecordExcelVO> convertList02(List<ShopItemTimesRecordDO> list);

}
